//***********************************************************************
//		PP2_12.java		Author:GK
//
//		Calculate the circumference and area of a square.
//***********************************************************************

import java.util.Scanner;

public class PP2_12
{
	public static void main(String[] args)
	{
	int a,b,c;
	Scanner scan = new Scanner(System.in);

	System.out.println("请输入一个整数作为正方形边长：");
	a = scan.nextInt();

	b = 4 * a;
	c = a * a;
	System.out.println("输出正方形的边长：" + b);
	System.out.println("输出正方形的面积：" + c);
	}
}
